package com.hxzy.source.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mingqian.Wu
 * @since 2023-06-26
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@ApiModel(value="TtSourceList对象", description="")
public class TtSourceList implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "货源编号")
      @TableId
        private String sourceId;

      @ApiModelProperty(value = "货主编号")
      private String userId;

      @ApiModelProperty(value = "货物名称")
      private String goodsName;

      @ApiModelProperty(value = "企业名称")
      private String companiesName;

      @ApiModelProperty(value = "装车站点编号")
      private String loadingSiteId;

      @ApiModelProperty(value = "卸车站点编号")
      private String unloadingSiteId;

      @ApiModelProperty(value = "发货总量（吨）")
      private Double goodsTotal;

      @ApiModelProperty(value = "专属车队编号")
      @TableField("exclusive_carTeam_id")
    private String exclusiveCarteamId;

      @ApiModelProperty(value = "装货量")
      private Double loadingCount;

      @ApiModelProperty(value = "卸货量")
      private Double unloadingCount;

      @ApiModelProperty(value = "亏吨扣费")
      private BigDecimal lossCost;

      @ApiModelProperty(value = "结算主体编号")
      private String settlerId;

      @ApiModelProperty(value = "供应商名称")
      private String vendorName;

      @ApiModelProperty(value = "货物余量")
      private Double goodsHeadroom;

      @ApiModelProperty(value = "服务费率")
      private Double serviceRate;

      @ApiModelProperty(value = "运价")
      private BigDecimal sourceFreight;

      @ApiModelProperty(value = "含税运价")
      private BigDecimal sourceFreightTax;

      @ApiModelProperty(value = "货源状态")
      private Integer sourceStatus;

      @TableField(exist =false)
      private String sourceStatusName;

      @ApiModelProperty(value = "发布时间")
      private Date postsTime;

      @ApiModelProperty(value = "结束时间")
      private Date endTime;

      @ApiModelProperty(value = "备注")
      private String remark;


}
